package com.itheima.service;

import com.itheima.dao.Dao;
import com.itheima.dao.EmpDao;
import com.itheima.dao.UserDaoImpl;
import com.itheima.domain.User;

public class ServiceImpl implements Service {
    @Override
    public User login(String username, String password) {
        Dao dao = new UserDaoImpl();
        return dao.login(username, password);
    }
}
